package com.insigma.yanwenlong.bookkeeping.util;


import java.text.SimpleDateFormat;
import java.util.Date;


public class GetNowTime {
	//Calendar calendar = Calendar.getInstance();
	public String getNowTime() {
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-M-d");
		return sdf.format(new Date());
	}
	
//	public static void main(String[] args) {
//		GetNowTime gnt = new GetNowTime();
//		System.out.println(gnt.getNowTime());
//	}
}
